import request from '@/utils/request/index'

function wx_openid_login(data) {
	return request({
		url: '/public/auth/wx_openid_login',
		method: 'POST',
		data: data,
	});
}

function password_login(data) {
	return request({
		url: '/public/auth/password_login',
		method: 'POST',
		data: data,
	});
}

export default {
	wx_openid_login,
	password_login,
}